package com.yanqu.road.entity.activity.tripletown;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 三消-每轮结果
 */
public class EliminateRoundResult {

    private int type = 1; // 类型：1正常消除，2无可消除的重排

    private List<EliminateStageResult> stageResultList = new ArrayList<>(); // 每阶段消除的方块
    private List<Block> createBomb = new ArrayList<>(); // 生成的炸弹
    private Block orderBomb = null; // 订单赠送的炸弹
    private int[][] blockList = null; // 当前方块

    private Order curOrder = null; // 当前订单
    private Order finishOrder = null; // 完成的订单
    private Order failOrder = null; // 失败的订单

    private int addOrderId = -1; // 添加的订单（去掉第一个，再把这个添加到最后）

    // =============================================================================

    /**
     * 剩余血量
     */
    List<Integer> bloodList = new ArrayList<>();
    /**
     * 命中伤害
     */
    List<Integer> harmList = new ArrayList<>();

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public List<EliminateStageResult> getStageResultList() {
        return stageResultList;
    }

    public void setStageResultList(List<EliminateStageResult> stageResultList) {
        this.stageResultList = stageResultList;
    }

    public List<Block> getCreateBomb() {
        return createBomb;
    }

    public void setCreateBomb(List<Block> createBomb) {
        this.createBomb = createBomb;
    }

    public Block getOrderBomb() {
        return orderBomb;
    }

    public void setOrderBomb(Block orderBomb) {
        this.orderBomb = orderBomb;
    }

    public int[][] getBlockList() {
        return blockList;
    }

    public void setBlockList(int[][] blockList) {
        this.blockList = blockList;
    }

    public Order getCurOrder() {
        return curOrder;
    }

    public void setCurOrder(Order curOrder) {
        this.curOrder = curOrder;
    }

    public Order getFinishOrder() {
        return finishOrder;
    }

    public void setFinishOrder(Order finishOrder) {
        this.finishOrder = finishOrder;
    }

    public int getAddOrderId() {
        return addOrderId;
    }

    public void setAddOrderId(int addOrderId) {
        this.addOrderId = addOrderId;
    }

    public Order getFailOrder() {
        return failOrder;
    }

    public void setFailOrder(Order failOrder) {
        this.failOrder = failOrder;
    }

    public List<Integer> getBloodList() {
        return bloodList;
    }

    public void setBloodList(List<Integer> bloodList) {
        this.bloodList = bloodList;
    }

    public List<Integer> getHarmList() {
        return harmList;
    }

    public void setHarmList(List<Integer> harmList) {
        this.harmList = harmList;
    }
}
